@using System.Web.Mvc.Html
@using NGM.Forum.Extensions
@using Orchard.Mvc.Html
@{
  Script.Require("jQuery");

  Layout.Title = T("Create Thread").ToString();
}

<h2>@Layout.Title</h2>
@using (Html.BeginFormAntiForgeryPost(Url.ThreadCreate(int.Parse(Request.QueryString["forumId"])), FormMethod.Post, new { @id = "thread-create" })) {
    @Html.ValidationSummary()
    
    @Display(Model.Thread)
    @Display(Model.Post)
}